<?xml version="1.0" encoding="UTF-8" ?>
<%@page
	contentType="text/html;charset=UTF-8"
	pageEncoding="UTF-8"
	import="fr.utbm.gi.in56.error.ErrorType"
%>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
        <link rel="stylesheet" media="screen" type="text/css" title="Style" href="style.css" />
        <meta http-equiv="refresh" content="5;URL=index.jsp">
        <title>L'Entre-Pot</title>
    </head>
    <body>
        <div id ="container">
            <jsp:directive.include file="header.jsp"/>
            <jsp:directive.include file="topMenu.jsp"/>
            <div id="core">
                <div id="frame" class="center">
                    <div id="notification">                    	
                    	<% ErrorType error = (ErrorType)request.getAttribute( "error" );%>
						<%
							if( error != null )
							{
						%>
								<div id="error">
								    <%= error.getErrorMessage() %>
								</div>
						<%
							}
						%>
                    	<p> Vous allez être redirigé vers la page d'accueil...</p>
                    </div>
                </div>
            </div>
            
            <jsp:directive.include file="footer.jsp"/>
        </div>
    </body>
</html></html>